﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <style type="text/css">
        table.gridtable {
            width: 100%;
            font-family: verdana,arial,sans-serif;
            font-size: 11px;
            color: #333333;
            border-width: 1px;
            border-color: #666666;
            border-collapse: collapse;
        }

            table.gridtable th {
                border-width: 1px;
                padding: 8px;
                border-style: solid;
                border-color: #666666;
                background-color: #dedede;
                line-height: 40px;
                font-size: 40px;
            }

            table.gridtable td {
                border-width: 1px;
                padding: 8px;
                border-style: solid;
                border-color: #666666;
                background-color: #ffffff;
                line-height: 20px;
                text-align: center;
                font-size: 12px;
            }

        .td {
            border-left: 1px solid #e8e8e8;
            border-right: 1px solid #e8e8e8;
        }
    </style>

</head>
<body>
    <div id="print1">
        <button style="font-size:30px;" onclick="printHTML()">打印</button>
    </div>
    <script language="javascript" type="text/javascript">
        function printHTML() {
            document.getElementById("print1").style.display = "none";//隐藏
            window.print();
            document.getElementById("print1").style.display = "";//隐藏
        }
    </script>
    @RenderBody()
</body>
</html>




